package com.yyzw.activiti.modeler.dao;

import com.yyzw.activiti.modeler.model.SysBusiness;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface SysBusinessMapper extends Mapper<SysBusiness> {
    @Delete("delete from sys_business where bus_id = #{busId}")
    void deleteBusinessByBusId(@Param("busId") int busId);
}
